package org.linphone.utils;

import android.app.Activity;
import android.view.View;

/**
 * Created by Xiang on 2017/12/7.
 */

public class ScreenUtil {

	public static void fullScreen(Activity act){
		View decorView =act.getWindow().getDecorView();
		int uiOptions = View.SYSTEM_UI_FLAG_HIDE_NAVIGATION | View.SYSTEM_UI_FLAG_FULLSCREEN;
		decorView.setSystemUiVisibility(uiOptions);
	}

}
